package com.xqb.modules.domain.po;

import com.xqb.common.annotation.Excel;
import com.xqb.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题目对象 les_subject
 * 
 * @author xqb
 * @date 2024-10-14
 */
public class LesSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题目id */
    private Long id;

    /** 题干 */
    @Excel(name = "题干")
    private String name;

    /** 题目类型，1：单选题，2：多选题，3：不定向选择题，4：判断题，5：主观题 */
    @Excel(name = "题目类型，1：单选题，2：多选题，3：不定向选择题，4：判断题，5：主观题")
    private Long subjectType;

    /** 难易度，1：简单，2：中等，3：困难 */
    @Excel(name = "难易度，1：简单，2：中等，3：困难")
    private Long difficulty;

    /** 选择题答案1， */
    @Excel(name = "选择题答案1，")
    private String option1;

    /** 选择题答案2 */
    @Excel(name = "选择题答案2")
    private String option2;

    /** 选择题答案3 */
    @Excel(name = "选择题答案3")
    private String option3;

    /** 选择题答案4 */
    @Excel(name = "选择题答案4")
    private String option4;

    /** 选择题答案5 */
    @Excel(name = "选择题答案5")
    private String option5;

    /** 选择题答案6 */
    @Excel(name = "选择题答案6")
    private String option6;

    /** 选择题答案7 */
    @Excel(name = "选择题答案7")
    private String option7;

    /** 选择题答案8 */
    @Excel(name = "选择题答案8")
    private String option8;

    /** 选择题答案9 */
    @Excel(name = "选择题答案9")
    private String option9;

    /** 选择题答案10 */
    @Excel(name = "选择题答案10")
    private String option10;

    /** 选择题正确答案1到10，如果有多个答案，中间使用逗号隔开，如果是判断题，1：代表正确，其他代表错误 */
    @Excel(name = "选择题正确答案1到10，如果有多个答案，中间使用逗号隔开，如果是判断题，1：代表正确，其他代表错误")
    private String answer;

    /** 答案解析 */
    @Excel(name = "答案解析")
    private String analysis;

    /** 引用次数 */
    @Excel(name = "引用次数")
    private Long useTimes;

    /** 回答次数 */
    @Excel(name = "回答次数")
    private Long answerTimes;

    /** 分值 */
    @Excel(name = "分值")
    private Long score;

    /** 部门id */
    @Excel(name = "部门id")
    private Long depId;

    /** 逻辑删除 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSubjectType(Long subjectType) 
    {
        this.subjectType = subjectType;
    }

    public Long getSubjectType() 
    {
        return subjectType;
    }
    public void setDifficulty(Long difficulty) 
    {
        this.difficulty = difficulty;
    }

    public Long getDifficulty() 
    {
        return difficulty;
    }
    public void setOption1(String option1) 
    {
        this.option1 = option1;
    }

    public String getOption1() 
    {
        return option1;
    }
    public void setOption2(String option2) 
    {
        this.option2 = option2;
    }

    public String getOption2() 
    {
        return option2;
    }
    public void setOption3(String option3) 
    {
        this.option3 = option3;
    }

    public String getOption3() 
    {
        return option3;
    }
    public void setOption4(String option4) 
    {
        this.option4 = option4;
    }

    public String getOption4() 
    {
        return option4;
    }
    public void setOption5(String option5) 
    {
        this.option5 = option5;
    }

    public String getOption5() 
    {
        return option5;
    }
    public void setOption6(String option6) 
    {
        this.option6 = option6;
    }

    public String getOption6() 
    {
        return option6;
    }
    public void setOption7(String option7) 
    {
        this.option7 = option7;
    }

    public String getOption7() 
    {
        return option7;
    }
    public void setOption8(String option8) 
    {
        this.option8 = option8;
    }

    public String getOption8() 
    {
        return option8;
    }
    public void setOption9(String option9) 
    {
        this.option9 = option9;
    }

    public String getOption9() 
    {
        return option9;
    }
    public void setOption10(String option10) 
    {
        this.option10 = option10;
    }

    public String getOption10() 
    {
        return option10;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setAnalysis(String analysis) 
    {
        this.analysis = analysis;
    }

    public String getAnalysis() 
    {
        return analysis;
    }
    public void setUseTimes(Long useTimes) 
    {
        this.useTimes = useTimes;
    }

    public Long getUseTimes() 
    {
        return useTimes;
    }
    public void setAnswerTimes(Long answerTimes) 
    {
        this.answerTimes = answerTimes;
    }

    public Long getAnswerTimes() 
    {
        return answerTimes;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setDepId(Long depId) 
    {
        this.depId = depId;
    }

    public Long getDepId() 
    {
        return depId;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("subjectType", getSubjectType())
            .append("difficulty", getDifficulty())
            .append("option1", getOption1())
            .append("option2", getOption2())
            .append("option3", getOption3())
            .append("option4", getOption4())
            .append("option5", getOption5())
            .append("option6", getOption6())
            .append("option7", getOption7())
            .append("option8", getOption8())
            .append("option9", getOption9())
            .append("option10", getOption10())
            .append("answer", getAnswer())
            .append("analysis", getAnalysis())
            .append("useTimes", getUseTimes())
            .append("answerTimes", getAnswerTimes())
            .append("score", getScore())
            .append("depId", getDepId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
